import java.util.Scanner;

public class Ex3_10{
	public static void main(String[] args){
		int x = (int)(Math.random() * 10);
		int y = (int)(Math.random() * 10);
		int sum = x + y;
		System.out.printf("%d + %d = ", x, y);
		Scanner input = new Scanner(System.in);
		int num = input.nextInt();
		if (num == sum){
			System.out.println("Correct!");
		}
		else{
			System.out.println("Incorrect!");
		}
	}
}